package com.hfuuTaf.service.implement;

import com.hfuuTaf.mapper.trainProgramMapper;
import com.hfuuTaf.pojo.trainProgram;
import com.hfuuTaf.service.trainProgramService;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * 田径俱乐部的训练的计划
 */
@Service
public class trainProgramServiceImpl implements trainProgramService {
    private final trainProgramMapper trainProgramMapper;

    public trainProgramServiceImpl(trainProgramMapper trainProgramMapper) {
        this.trainProgramMapper = trainProgramMapper;
    }

    @Override
    public List<trainProgram> queryAll() {
        return trainProgramMapper.queryAll();
    }
}
